package com.example.rbac.aop;


import org.springframework.core.annotation.AliasFor;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.web.bind.annotation.RequestMapping;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
@Scheduled
public @interface Test {
    @AliasFor(
            annotation = Scheduled.class
    )
    String cron() default "";


    String name() default "";
}
